body {
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    font-size: 15px;
    flex-direction: row;
    width: 794px;
    height: 1123px;
    border: 2px solid;
    border-radius: 10px;
    margin: 10px auto;
    padding: 10px;
    justify-content: center;
}

side {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 270px;
    background-color: rgb(0, 120, 160);
    padding-left: 20px;
    align-items: flex-start;
}

.contact {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    color: white;
}

.contact ul {
    padding-top: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 0.9rem;
}

.contact h3 {
    font-size: 1.5rem;
}

.message {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    color: white;
}

.message ul {
    padding-top: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 0.9rem;
}

.message h3 {
    font-size: 1.5rem;
}

.certificate {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    color: white;
}

.certificate ul {
    padding-top: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 0.9rem;
}

.certificate h3 {
    font-size: 1.5rem;
}

.hoverbox-N1 {
    position: fixed;
    visibility: hidden;
    left: 40%;
    top: 20%;
    width: 500px;
}


.N1:hover + .hoverbox-N1{
    visibility: visible;
    color: black;
}

maindisplay {
    display: flex;
    width: 100%;
    flex-direction: row;
}

maindisplay heading {
    display: flex;
    height: 150px;
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 768px) {
    main {
        flex-shrink: 1;
        width: 100%;
    }
}